<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.h.heal.entity.User" %>
<style>
    .navbar-brand-wrapper.d-flex.justify-content-center {
        background: rgba(255,255,255,0.3);
        border: none;
    }


</style>
<nav class="navbar col-lg-12 col-12 p-0 fixed-top d-flex flex-row">
    <div class="navbar-brand-wrapper d-flex justify-content-center">
        <div class="navbar-brand-inner-wrapper d-flex justify-content-between align-items-center w-100">
            <a class="navbar-brand brand-logo" href="/video/index"><img src="https://cdn.appnomic.com/wp-content/uploads/2020/01/20110317/Heal-Logo.png" alt="logo"/></a>
            <a class="navbar-brand brand-logo-mini" href="/video/index"><img src="https://cdn.appnomic.com/wp-content/uploads/2020/01/20110317/Heal-Logo.png" alt="logo"/></a>
            <button class="navbar-toggler navbar-toggler align-self-center" type="button" data-toggle="minimize">
                <span class="mdi mdi-sort-variant"></span>
            </button>
        </div>
    </div>

    <div class="navbar-menu-wrapper d-flex align-items-center justify-content-end"style="background: rgba(255,255,255,0.3);
    border: none;">

        <ul class="navbar-nav navbar-nav-right"style="opacity: 100%">

            <li class="nav-item nav-profile dropdown">
                <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" id="profileDropdown">
<%--                    <img src="${pageContext.request.contextPath}/style/images/IMG_0725.JPG" alt="profile"/>--%>
                    <span class="nav-profile-name"><%=((User)request.getSession().getAttribute("user_info")).getUser_name()+"用户"%></span>
                </a>
                <div class="dropdown-menu dropdown-menu-right navbar-dropdown" aria-labelledby="profileDropdown">
                    <a class="dropdown-item" href="/user/user/openEdit/<%=((User)request.getSession().getAttribute("user_info")).getUser_uid()%>">
                        <i class="mdi mdi-settings text-primary"></i>
                        个人设置
                    </a>
                    <a class="dropdown-item" href="/user/logout">
                        <i class="mdi mdi-logout text-primary"></i>
                        退出登录
                    </a>
                </div>
            </li>
        </ul>
        <button class="navbar-toggler navbar-toggler-right d-lg-none align-self-center" type="button" data-toggle="offcanvas">
            <span class="mdi mdi-menu"></span>
        </button>
    </div>
</nav>